//
//  UIView+SLKit.h
//  SLKit
//
//  Created by S_LINE on 2021/10/1.
//  Copyright © 2021 S_LINE. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (SLKit)

/// 为 UIView 快速添加点击事件
- (void)addTapActionWithBlock:(void(^)(void))block;

/// 为 UIView 快速添加双击事件
- (void)addDoubleTapActionWithBlock:(void(^)(void))block;

/// 为 UIView 快速添加长按事件
- (void)addLongPressActionWithBlock:(void(^)(void))block;

@end

NS_ASSUME_NONNULL_END
